package com.sanjiahantang.youjiaclient.module.me.order.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zy on 2017/10/27.
 */

public class CreateOrderPost {

    /**
     * buyPersonMessage :
     * invoiceId : 0
     * orderInvoiceInfoDto : {"invoiceTitle":"发票","isPersonalOrCompany":"0"}
     * phone : 13516299287
     * phoneTypeId : 0
     * shoppingCartInfoDtos : [{"goodsName":"","mgiId":1086,"mgpiValue":"","mgsciId":0,"number":5,"phone":"13516299287","price":"222","role":0,"skuId":"1507619613856","stockCount":0,"supplyId":"16","supplyName":"","typeGoodsId":0}]
     * token : 70222609f480b9bd60f87d18ed2be402
     * userAddressId : 9
     */

    private String buyPersonMessage;
    private int invoiceId;
    private OrderInvoiceInfoDtoBean orderInvoiceInfoDto;
    private String phone;
    private int phoneTypeId;
    private String token;
    private int userAddressId;
    private List<ShoppingCartInfoDtosBean> shoppingCartInfoDtos;
    private int isShoppingCartOrder;

    public int getIsShoppingCartOrder() {
        return isShoppingCartOrder;
    }

    public void setIsShoppingCartOrder(int isShoppingCartOrder) {
        this.isShoppingCartOrder = isShoppingCartOrder;
    }

    public String getBuyPersonMessage() {
        return buyPersonMessage;
    }

    public void setBuyPersonMessage(String buyPersonMessage) {
        this.buyPersonMessage = buyPersonMessage;
    }

    public int getInvoiceId() {
        return invoiceId;
    }

    private void setInvoiceId(int invoiceId) {
        this.invoiceId = invoiceId;
    }

    public OrderInvoiceInfoDtoBean getOrderInvoiceInfoDto() {
        return orderInvoiceInfoDto;
    }

    public void setOrderInvoiceInfoDto(OrderInvoiceInfoDtoBean orderInvoiceInfoDto) {
        this.orderInvoiceInfoDto = orderInvoiceInfoDto;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getPhoneTypeId() {
        return phoneTypeId;
    }

    public void setPhoneTypeId(int phoneTypeId) {
        this.phoneTypeId = phoneTypeId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getUserAddressId() {
        return userAddressId;
    }

    public void setUserAddressId(int userAddressId) {
        this.userAddressId = userAddressId;
    }

    public List<ShoppingCartInfoDtosBean> getShoppingCartInfoDtos() {
        return shoppingCartInfoDtos;
    }

    public void setShoppingCartInfoDtos(List<ShoppingCartInfoDtosBean> shoppingCartInfoDtos) {
        this.shoppingCartInfoDtos = shoppingCartInfoDtos;
    }



    public static class OrderInvoiceInfoDtoBean implements Serializable{
        /**
         * invoiceTitle : 发票
         * isPersonalOrCompany : 0
         */

        private String invoiceTitle;
        private String isPersonalOrCompany;
        private String taxNum;
        private float money;
        private int oiiId;
        private int phoneTypeId;
        private int typeId;

        public float getMoney() {
            return money;
        }

        public void setMoney(float money) {
            this.money = money;
        }

        public int getOiiId() {
            return oiiId;
        }

        public void setOiiId(int oiiId) {
            this.oiiId = oiiId;
        }

        public int getPhoneTypeId() {
            return phoneTypeId;
        }

        public void setPhoneTypeId(int phoneTypeId) {
            this.phoneTypeId = phoneTypeId;
        }

        public int getTypeId() {
            return typeId;
        }

        public void setTypeId(int typeId) {
            this.typeId = typeId;
        }

        public String getTaxNum() {
            return taxNum;
        }

        public void setTaxNum(String taxNum) {
            this.taxNum = taxNum;
        }

        public String getInvoiceTitle() {
            return invoiceTitle;
        }

        public void setInvoiceTitle(String invoiceTitle) {
            this.invoiceTitle = invoiceTitle;
        }

        public String getIsPersonalOrCompany() {
            return isPersonalOrCompany;
        }

        public void setIsPersonalOrCompany(String isPersonalOrCompany) {
            this.isPersonalOrCompany = isPersonalOrCompany;
        }
    }

    public static class ShoppingCartInfoDtosBean {
        /**
         * goodsName :
         * mgiId : 1086
         * mgpiValue :
         * mgsciId : 0
         * number : 5
         * phone : 13516299287
         * price : 222
         * role : 0
         * skuId : 1507619613856
         * stockCount : 0
         * supplyId : 16
         * supplyName :
         * typeGoodsId : 0
         */

        private String goodsName;
        private int mgiId;
        private String mgpiValue;
        private int mgsciId;
        private int number;
        private String phone;
        private String price;
        private int role;
        private String skuId;
        private int stockCount;
        private String supplyId;
        private String supplyName;
        private int typeGoodsId;




        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getMgiId() {
            return mgiId;
        }

        public void setMgiId(int mgiId) {
            this.mgiId = mgiId;
        }

        public String getMgpiValue() {
            return mgpiValue;
        }

        public void setMgpiValue(String mgpiValue) {
            this.mgpiValue = mgpiValue;
        }

        public int getMgsciId() {
            return mgsciId;
        }

        public void setMgsciId(int mgsciId) {
            this.mgsciId = mgsciId;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getPhone() {
            return phone;
        }

        private void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getRole() {
            return role;
        }

        private void setRole(int role) {
            this.role = role;
        }

        public String getSkuId() {
            return skuId;
        }

        public void setSkuId(String skuId) {
            this.skuId = skuId;
        }

        public int getStockCount() {
            return stockCount;
        }

        private void setStockCount(int stockCount) {
            this.stockCount = stockCount;
        }

        public String getSupplyId() {
            return supplyId;
        }

        public void setSupplyId(String supplyId) {
            this.supplyId = supplyId;
        }

        public String getSupplyName() {
            return supplyName;
        }

        public void setSupplyName(String supplyName) {
            this.supplyName = supplyName;
        }

        public int getTypeGoodsId() {
            return typeGoodsId;
        }

        private void setTypeGoodsId(int typeGoodsId) {
            this.typeGoodsId = typeGoodsId;
        }
    }
}
